package com.kaibai.dao;

import com.kaibai.pojo.Order;

import java.sql.Connection;
import java.util.List;

public interface OrderDao {
    int saveOrder(Connection conn, Order order);

    List<Order> queryOrders(Connection conn);

    int changeOrderStatus(Connection conn,String orderId,Integer status);

    List<Order> queryOrdersByUserId(Connection conn,Integer userId);
}
